//
//  HomeKeepModel.m
//  NotepadApp
//
//  Created by yobet on 2018/4/17.
//  Copyright © 2018年 HJ. All rights reserved.
//

#import "HomeKeepModel.h"

@implementation HomeKeepModel

-(void)setContent:(NSString *)content {
    _content = content;
    
    CGSize size =[CommonTools sizeWithText:content font:15];
    self.cellHeight = size.height+40.5;
}

-(void)setImage:(NSData *)image {
    _image = image;
    if (![image isKindOfClass:[NSNull class]]) {
         CGSize size =[CommonTools sizeWithText:_content font:15];
         self.cellHeight = size.height+80.5;
    }
}



@end

@implementation SpeedingModel


@end
